package com.woniu.mapper;

import com.woniu.entity.PatientInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author hzw
* @description 针对表【patient_info(病人信息表)】的数据库操作Mapper
* @createDate 2025-10-29 13:56:23
* @Entity com.woniu.entity.PatientInfo
*/
public interface PatientInfoMapper {

    Integer deleteByPrimaryKey(Integer id);

    Integer insert(PatientInfo record);

    Integer insertSelective(PatientInfo record);

    PatientInfo selectByPrimaryKey(Integer id);

    Integer updateByPrimaryKeySelective(PatientInfo record);

    Integer updateByPrimaryKey(PatientInfo record);

    PatientInfo findById(@Param("id") Integer id);

    List<PatientInfo> findAll();

}
